<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>字体属性</title>
    <style>
      .text{
        color: red;
        font-size: 30px;
        font-weight: 700px;
        font-style: normal;
        font-family:"微软雅黑";

      }
    </style>
</head>
<body>
    <p class="text">哈哈</p>
    <p>哈哈</p>
    
</body>
</html>